package com.intellagric.controller.sso.page;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: zhy
 * @Date: 2018/10/6
 * @Description: 页面导航控制
 */
@Controller
public class PageController {

    @RequestMapping("/")
    public String toLogin() {
        return "login";
    }

    @RequestMapping("/{page}")//agrieLogin
    public String showPage(@PathVariable String page) {
        return page;
    }


}
